﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="JinDu4_In.aspx.cs" Inherits="syc.Fc.JinDu4_In" %>
<html>
<head></head>
<body>
<script type="text/javascript" language="javascript" src="/common.js"></script>
<form id="form1" runat="server">
<div id="wintop" class="wintop">四分厂生产进度录入</div>

<asp:Panel ID="Panel1" runat="server" CssClass="panel">

<asp:Button ID="Button_Finish" runat="server" Text="保 存" CssClass="button" 
    UseSubmitBehavior="False" onclick="Button_Finish_Click" />
<asp:Button ID="Button_New" runat="server" Text="录入下一条" CssClass="button2" 
    Font-Bold="false" Font-Size="14px" Visible="false"
    UseSubmitBehavior="False" onclick="Button_New_Click" />
<input type="button" value="关 闭" class="button" onclick="parent.swin2_close();" />
</asp:Panel>

<asp:Panel ID="Panel2" runat="server" CssClass="panel" HorizontalAlign="Center">
班 次：<asp:DropDownList ID="BanCi" runat="server" Width="120px">
    <asp:ListItem Value="1">甲班</asp:ListItem>
    <asp:ListItem Value="2">乙班</asp:ListItem>
    <asp:ListItem Value="3">丙班</asp:ListItem>
    <asp:ListItem Value="4">丁班</asp:ListItem>
</asp:DropDownList>
<span style="margin-left:15px;"></span>日 期：<asp:TextBox ID="RiQi" runat="server" CssClass="textbox" Width="110px" Font-Size="13px"></asp:TextBox><img alt="" src="/Icons/29.png" align="middle" onclick="makecalendar(document.getElementById('RiQi').value, document.getElementById('RiQi'));" />

<span style="margin-left:15px;"></span>产 品：<asp:DropDownList ID="ChanPin" runat="server" Width="120px">
    <asp:ListItem Value="2">套管螺纹保护器</asp:ListItem>
    <asp:ListItem Value="1">油管螺纹保护器</asp:ListItem>
</asp:DropDownList> 

</asp:Panel>
<asp:Panel ID="Panel3" runat="server" CssClass="panel" >
<style>
td{padding:3px 2px 1px 2px;}
input.textbox{font-size:16px;text-align:center;}
</style>
<table border="1" style="border-collapse:separate;font-size:14px;margin-bottom:6px;text-align:center;" width="100%" >
<tr>
<td width="100" style="border:none">原料投入(kg)</td>
<td>塑 质<br><asp:TextBox ID="SuZhi" runat="server" CssClass="textbox" Width="100px" Text="0"></asp:TextBox></td>
<td>铁 质<br><asp:TextBox ID="TieZhi" runat="server" CssClass="textbox" Width="100px" Text="0"></asp:TextBox></td>
<td></td>
<td></td>
</tr>

<tr bgcolor="#fffff8">
<td>焊接(件)</td>
<td>内套合格<br><asp:TextBox ID="NeiTao" runat="server" CssClass="textbox" Width="100px" Text="0"></asp:TextBox></td>
<td>内套不合格<br><asp:TextBox ID="NeiTaoFei" runat="server" CssClass="textbox" Width="100px" Text="0"></asp:TextBox></td>
<td>外套合格<br><asp:TextBox ID="WaiTao" runat="server" CssClass="textbox" Width="100px" Text="0"></asp:TextBox></td>
<td>外套不合格<br><asp:TextBox ID="WaiTaoFei" runat="server" CssClass="textbox" Width="100px" Text="0"></asp:TextBox></td>
</tr>

<tr>
<td style="border:none">注塑(件)</td>
<td>1#<br><asp:TextBox ID="ZhuSu1" runat="server" CssClass="textbox" Width="100px" Text="0"></asp:TextBox></td>
<td>2#<br><asp:TextBox ID="ZhuSu2" runat="server" CssClass="textbox" Width="100px" Text="0"></asp:TextBox></td>
<td>3#<br><asp:TextBox ID="ZhuSu3" runat="server" CssClass="textbox" Width="100px" Text="0"></asp:TextBox></td>
<td>4#<br><asp:TextBox ID="ZhuSu4" runat="server" CssClass="textbox" Width="100px" Text="0"></asp:TextBox></td>
</tr>

<tr bgcolor="#fffff8">
<td >注塑废品(件)</td>
<td>1#<br><asp:TextBox ID="ZhuFei1" runat="server" CssClass="textbox" Width="100px" Text="0"></asp:TextBox></td>
<td>2#<br><asp:TextBox ID="ZhuFei2" runat="server" CssClass="textbox" Width="100px" Text="0"></asp:TextBox></td>
<td>3#<br><asp:TextBox ID="ZhuFei3" runat="server" CssClass="textbox" Width="100px" Text="0"></asp:TextBox></td>
<td>4#<br><asp:TextBox ID="ZhuFei4" runat="server" CssClass="textbox" Width="100px" Text="0"></asp:TextBox></td>
</tr>

<tr>
<td style="border:none">车丝(件)</td>
<td>1#<br><asp:TextBox ID="CheSi1" runat="server" CssClass="textbox" Width="100px" Text="0"></asp:TextBox></td>
<td>2#<br><asp:TextBox ID="CheSi2" runat="server" CssClass="textbox" Width="100px" Text="0"></asp:TextBox></td>
<td>3#<br><asp:TextBox ID="CheSi3" runat="server" CssClass="textbox" Width="100px" Text="0"></asp:TextBox></td>
<td>4#<br><asp:TextBox ID="CheSi4" runat="server" CssClass="textbox" Width="100px" Text="0"></asp:TextBox></td>
</tr>

<tr bgcolor="#fffff8">
<td >车丝废品(件)</td>
<td>1#<br><asp:TextBox ID="CheFei1" runat="server" CssClass="textbox" Width="100px" Text="0"></asp:TextBox></td>
<td>2#<br><asp:TextBox ID="CheFei2" runat="server" CssClass="textbox" Width="100px" Text="0"></asp:TextBox></td>
<td>3#<br><asp:TextBox ID="CheFei3" runat="server" CssClass="textbox" Width="100px" Text="0"></asp:TextBox></td>
<td>4#<br><asp:TextBox ID="CheFei4" runat="server" CssClass="textbox" Width="100px" Text="0"></asp:TextBox></td>
</tr>

<tr>
<td rowspan=2 style="border:none">入库(套)</td>
<td>入库量<br><asp:TextBox ID="RuKu" runat="server" CssClass="textbox" Width="100px" Text="0"></asp:TextBox></td>
<td></td>
<td></td>
<td></td>
</tr>

</table>

</asp:Panel>

</form>

<script>
var notice = '<%=this.Notice %>';
if (notice != '') {
    parent.showmsgbox(notice);
}
var textboxs = document.getElementsByTagName("input");
for (var i = 0; i < textboxs.length; i++) {
    if (textboxs[i].className == "pageturn" || textboxs[i].className == "intxt1" || textboxs[i].className == "textbox") {
        textboxs[i].onfocus = function(e) { this.select(); };
    }
}
document.onkeydown = function(e) {
    if (!e) e = window.event;
    var tag = e.srcElement;
    if (!tag) tag = e.target;

    if (tag.tagName == "INPUT" && tag.className == "textbox" || tag.tagName == "SELECT") {
        if (e.keyCode == 13) {
            if (tag.id == "RuKu") {
                document.getElementById("Button_Finish").focus();
                return false;
            }
            e.keyCode = 9;
        }
    }
}

</script>
</body>
</html>